#include "dialogsettings.h"
#include "ui_dialogsettings.h"

DialogSettings::DialogSettings(QWidget *parent) :
    QDialog(parent),
    ui(new Ui::DialogSettings)
{
    ui->setupUi(this);
}

DialogSettings::~DialogSettings()
{
    delete ui;
}

void DialogSettings::setShowQty(bool value)
{
    ui->checkBox->setChecked (value);
}

bool DialogSettings::showQty() const
{
    return ui->checkBox->isChecked ();
}

